export const listAccessibleCustomers = ( parme, success, error) => {
  let accessToken=parme.accessToken;
  let  developerToken=parme.developerToken;
  let xhr = new XMLHttpRequest();
  xhr.onload = success
  xhr.onerror = error
  xhr.timeout = 15000;
  xhr.ontimeout = error
  xhr.open('GET', 'https://googleads.googleapis.com/v10/customers:listAccessibleCustomers',true);
  xhr.setRequestHeader("developer-token",developerToken)
  xhr.setRequestHeader("Authorization","Bearer "+accessToken)
  xhr.send("");
}
